#include <iostream>
using namespace std;

int main(int argc, char const *argv[])
{
	int a=123;
	int *p;
	p=&a;
	cout<<"The value:"<<*p<<endl;
	cout<<"The address:"<<p<<endl;
	
	*p=99;
	cout<<"The value changed:"<<*p<<endl;
	cout<<"The address changed:"<<p<<endl;	 
	return 0;
}
